package com.hlb.zh.service.impl;

import com.hlb.zh.dao.EmployeeDao;
import com.hlb.zh.pojo.Employee;
import com.hlb.zh.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2016/12/17.
 */
@Service
public class EmployeeServiceimpl implements EmployeeService {
    @Autowired
    private EmployeeDao employeeDao;

    public List<Employee> find() {
        return employeeDao.findAll();
    }
}
